<link href="__STATIC__/ueditormini/themes/default/css/umeditor.min.css" type="text/css" rel="stylesheet">

<script type="text/javascript" charset="utf-8" src="__STATIC__/ueditormini/js/umeditor.config.js"></script>

<script type="text/javascript" charset="utf-8" src="__STATIC__/ueditormini/js/umeditor.min.js"></script>
<script type="text/javascript" charset="utf-8" src="__STATIC__/ueditormini/js/lang/zh-cn/zh-cn.js"></script>
<script type="text/plain" name="{$name}" id="{$id}" style="width:{$width};height:{$height};">{$default}</script>
<script>
    $(function(){
        var config="{{$config}}";
        var um = UM.getEditor("{$id}",{toolbar:[
                                                'source | bold italic underline | forecolor backcolor | ',
                                                'insertorderedlist | fontsize' ,
                                                '| justifyleft justifycenter justifyright justifyjustify |',
                                                'emotion']});

    })


</script>

